﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using KNet.Data.Entity;

namespace CNKI.TPI.Web.Search.Model
{
    public class SYS_CMS_USER : BaseModel, ITable
    {
        public SYS_CMS_USER()
        {
            SysID =0;
            Username = "";
            Password = "";
            RealName = "";
            UnitSysID = 0;
            Unit = "";
            UnitDeptCode = "";
            DeptSysID = 0;
            Dept = "";
            TelePhone = "";
            Email = "";
            PostCode = "";
            Address = "";
            BeginDate = "";
            EndDate = "";
            SecurityType = 0;
            SecurityValue = "";
            StopFlag = 0;
        
        }
        public int SysID { get; set; }
        private string username;
        public string Username
        {
            get { return username; }
            set
            {
                if (string.IsNullOrEmpty(value))
                { username = ""; }
                else
                { username = value; }

            }
        }
        private string password;

        public string Password
        {
            get { return password; }
            set
            {
                if (string.IsNullOrEmpty(value))
                { password = ""; }
                else
                { password = value; }

            }
        }
        private string realName;
        public string RealName
        {
            get { return realName; }
            set
            {
                if (string.IsNullOrEmpty(value))
                { realName = ""; }
                else
                { realName = value; }

            }
        }
        public int UnitSysID { get; set; }
        private string unit;
        public string Unit
        {
            get { return unit; }
            set
            {
                if (string.IsNullOrEmpty(value))
                { unit = ""; }
                else
                { unit = value; }

            }
        }
        private string unitDeptCode;
        public string UnitDeptCode
        {
            get { return unitDeptCode; }
            set
            {
                if (string.IsNullOrEmpty(value))
                { unitDeptCode = ""; }
                else
                { unitDeptCode = value; }

            }
        }
        public int DeptSysID { get; set; }
        private string dept;
        public string Dept
        {
            get { return dept; }
            set
            {
                if (string.IsNullOrEmpty(value))
                { dept = ""; }
                else
                { dept = value; }

            }
        }
        private string telePhone;
        public string TelePhone
        {
            get { return telePhone; }
            set
            {
                if (string.IsNullOrEmpty(value))
                { telePhone = ""; }
                else
                { telePhone = value; }

            }
        }
        private string email;
        public string Email
        {
            get { return email; }
            set
            {
                if (string.IsNullOrEmpty(value))
                { email = ""; }
                else
                { email = value; }

            }
        }

        private string postCode;
        public string PostCode
        {
            get { return postCode; }
            set
            {
                if (string.IsNullOrEmpty(value))
                { postCode = ""; }
                else
                { postCode = value; }

            }
        }
        private string address;
        public string Address
        {
            get { return address; }
            set
            {
                if (string.IsNullOrEmpty(value))
                { address = ""; }
                else
                { address = value; }

            }
        }
        private string beginDate;
        public string BeginDate
        {
            get { return beginDate; }
            set
            {
                if (string.IsNullOrEmpty(value))
                { beginDate = ""; }
                else
                { beginDate = value; }

            }
        }
        private string endDate;
        public string EndDate
        {
            get { return endDate; }
            set
            {
                if (string.IsNullOrEmpty(value))
                { endDate = ""; }
                else
                { endDate = value; }

            }
        }
        public int SecurityType { get; set; }
        private string securityValue;
        public string SecurityValue
        {
            get { return securityValue; }
            set
            {
                if (string.IsNullOrEmpty(value))
                { securityValue = ""; }
                else
                { securityValue = value; }

            }
        }
        public int StopFlag { get; set; }
    }
}
